#pragma once


// CListCtrlEx

class CListCtrlEx : public CListCtrl
{
	DECLARE_DYNAMIC(CListCtrlEx)

public:
	CListCtrlEx();
	virtual ~CListCtrlEx();

protected:
	DECLARE_MESSAGE_MAP()

public:
	int GetCurSelItem();
	int FindItemIndex(LPCTSTR sItem);

	void InsertItemRow(int nIndex, LPCTSTR sItemText, LPCTSTR sSubItem1 = "");
	void SetItemStateSel(int nIndex);
};


